Home > biomechZoo > Toolbox > Biomech Ops > resamp_nofilter.m

resamp_nofilter

PURPOSE ^

ndata = resamp_nofilter(data,factor) takes column vector of any length and

SYNOPSIS ^

function ndata = resamp_nofilter(data,factor)

DESCRIPTION ^

 ndata = resamp_nofilter(data,factor) takes column vector of any length and
 normalizes it according to factor

 NOTES
 - normalizeline is the same code. This will be depreciated in future
   releases

 ARGUMENTS
   data      ...  column vector
   factor   ...   amount to change data by ex. 2 will double length of
                  data, 0.5 will half the data

 RETURNS
   ndata     ...  normalized data containing ndatalength+1 number of points



 Created by Phil Dixon & JJ Loh
 McGill University Biomechanics

 Updated Feb 2010
 -back to original code

 Updated June 2011
 - small error in rounding fixed for conversion in resamp_nofilter

 Updated May 2016
 - If entire matrix is NaNs, new matrix of NaNs of correct size will
   be returned in ndata
 - Initialized output stk (ndata)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Sun 10-Mar-2024 22:39:06 by m2html © 2005